package com.janko.springbootbase.juc;

/**
 * @Description 导游线程，都到达目的地时，发放护照和签证
 * @Author nieyankang
 * @Version 1.0
 * @date {date} {time}
 */
public class C1_CyclicTourGuideTask implements Runnable {
    @Override
    public void run() {
        System.out.println("****导游分发护照签证****");
        try {
            //模拟发护照签证需要2秒
            Thread.sleep(2000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
